package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.annotations.SerializedName;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/8/18 11:37
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EventDataOrgVo implements Serializable {

    private String action;
    private String actionName;

    /**
     * 事件类型
     */
    @JsonProperty(value = "object_kind")
    @SerializedName(value = "object_kind")
    private String objectKind = "org";
    /**
     * 组织名称
     */
    @JsonProperty(value = "org_name")
    @SerializedName(value = "org_name")
    private String orgName;

    /**
     * 组织路径
     */
    @JsonProperty(value = "org_path")
    @SerializedName(value = "org_path")
    private String orgPath;

    /**
     * 组织路径
     */
    private String homepage;

    /**
     * 组织ID
     */
    @JsonProperty(value = "org_id")
    @SerializedName(value = "org_id")
    private String orgId;

    /**
     * 组织角色
     */
    @JsonProperty(value = "org_role")
    @SerializedName(value = "org_role")
    private String orgRole;

    /**
     * 创建时间
     */
    private String createdAt;

}
